package cn.iocoder.yudao.module.famous.doctor.controller.admin.video.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 视频管理 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class FamVideoBaseVO {

    @Schema(description = "视频封面", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotNull(message = "视频封面不能为空")
    private String imgUrl;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "内容不能为空")
    private String content;

    @Schema(description = "视频地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotNull(message = "视频地址不能为空")
    private String videoUrl;

    @Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "作者不能为空")
    private String author;

    @Schema(description = "浏览量")
    private Integer viewNum;

    @Schema(description = "视频标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "视频标题不能为空")
    private String title;

    @Schema(description = "状态1显示2不显示", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态1显示2不显示不能为空")
    private Integer status;

}
